package com.ttn.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttn.common.core.entity.Result;
import com.ttn.common.core.entity.business.CourseUnitOralPractice;
import com.ttn.common.core.entity.studentrecord.OralPracticeStudyRecordDetails;
import com.ttn.common.core.entity.studentrecord.TestStudyRecord;
import com.ttn.common.core.entity.studentrecord.query.QueryStudyLeaderboardQuery;
import com.ttn.common.core.entity.studentrecord.query.TestStudyRecordQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OralPracticeStudyRecordDetailsService extends IService<OralPracticeStudyRecordDetails> {

    List<CourseUnitOralPractice> getUnfinishedCourseUnitOralPracticeList(@Param("qo") TestStudyRecord testStudyRecord);

    Result saveOralPracticeStudyRecordDetails(OralPracticeStudyRecordDetails oralPracticeStudyRecordDetails);

    Result queryOralPracticeStudyLeaderboard(QueryStudyLeaderboardQuery queryStudyLeaderboardQuery);

    Result queryOralPracticeStudyRecordDetails(TestStudyRecordQuery testStudyRecordQuery);


}
